package com.cpp.pojo.vo.question;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class QuestionTestVO {
//    id INT primary key auto_increment COMMENT '题目id',
//    course_id INT COMMENT '所属课程id',
//    type INT COMMENT '类型：1`编程题`/`2选择题`/3`简答题`',
//    content text COMMENT '题目内容（含题干、选项等）',
//    difficulty INT COMMENT '难度：1`简单`/2`中等`/3`困难`',
//    knowledge_tag VARCHAR(50) COMMENT '关联知识点标签ids',
//    answer text COMMENT '正确答案'
    @TableId(value = "id",type = IdType.AUTO)
    private Long questionId;
    //所属课程id
    private Long courseId;
    //关联知识点标签ids
    private String knowledgeIds;
    //题目内容（含题干、选项等）
    private String content;
    //正确答案
    private String answer;
    //答案解析
    private String analysis;
}
